package com.liuyu.common.framework.validator.annotation;

import java.util.List;

/**
 * @ClassName ValidExtendService
 * @Author: liuyu
 * @Date: Created in 2021/4/26 11:53
 * @Version: 1
 * @Modified By:
 */
public interface ValidExtendService {
    /**
     * 扩展更新
     *
     * @param object
     * @param error
     * @return void
     * @author liuyu
     * @date 2021/4/26 12:19
     */
    void isValid(Object object, List<String> error);


    /**
     * 扩展信息校验不校验身份信息
     *
     * @param object
     * @param error
     * @return void
     * @throws
     * @author liuyu
     * @date 2022/11/30 14:18
     */
    void isValidWithoutAuth(Object object, List<String> error);
}
